Total Complexity | 28 |
Dependencies | 7 |
Dependents | 0 |
Total lines | 229 |
Lines of code | 163 |
Logical lines of code | 64 |
Comment lines | 23 |
Methods | 10 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
ajax_capture_email() | 49 | 8 | 30 | |
ajax_capture_checkout_field() | 56 | 5 | 19 | |
normalize_field_name_key() | 61 | 5 | 13 | |
hooks() | 52 | 2 | 31 | |
is_needed() | 67 | 3 | 8 | |
get_checkout_capture_fields() | 53 | 1 | 27 | |
get_js_params() | 60 | 1 | 14 | |
get_email_capture_selectors() | 64 | 1 | 12 | |
__construct() | 71 | 1 | 6 | |
is_checkout_capture_field() | 78 | 1 | 3 |